package	fctuc.dei.myTwitter.pojo;

import java.io.Serializable;


/**
 * <<Class summary>>
 *
 * @author Marco Neves
 * @version $Rev$
 */

public class Tweet implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -7598580345131426434L;
	private String message;
	private String timeStamp;
	private String author;
	private int user_id;
	
	public Tweet (String newMessage) {
		this.message = newMessage;
	}

	public Tweet(String msg, String ts) {
		this.message = msg;
		this.timeStamp = ts;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int userId) {
		user_id = userId;
	}
	
	public String getTimeStamp(){
		return this.timeStamp;
	}

	public String getMessage() {
		return message;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
}